image classification using svm python code